<?php


namespace app\home\controller;


use app\base\BaseController;
use think\facade\Db;
use think\facade\View;

/**
 * Class MoneyCount
 * @package app\home\controller
 * 金额汇总
 */
class MoneyCount extends BaseController
{

    /**
     * @autho:xiangzi
     * @auth:true
     * @Date:2024/7/11
     *
     */
    public function index()
    {
        $gysList=Db::name('purveyor')->where('status',1)
            ->where('dw_type','1')->field('id,name,code')->select();
        $khList=Db::name('purveyor')->where('status',1)
            ->where('dw_type','2')->field('id,name,code')->select();

        View::assign('gysList', $gysList);
        View::assign('khList', $khList);
        return view();
}
}